<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title></title>
</head>
<body>
	<ul> 
		<li>毛毛毛毛毛毛毛毛</li>
	</ul>
	<script type="text/javascript">
		let ul = document.getElementsByTagName("ul")[0]

		// cloneNode( false/true) 克隆节点  false浅度克隆 (只克隆当前元素) true
		// 深度克隆(包含所有子元素)
		let cloneLi = ul.children[0].cloneNode(true)
		console.log(cloneLi)
		
		ul.appendChild(cloneLi)
	</script>
</body>
</html>